package cn.houseProperty.dao;

import cn.entity.Do.Bunk;

import java.util.List;

public interface BunkDao {
    int deleteByPrimaryKey(String code);

    int insert(Bunk record);

    int insertSelective(Bunk record);

    Bunk selectByPrimaryKey(String code);

    int updateByPrimaryKeySelective(Bunk record);

    int updateByPrimaryKey(Bunk record);

    List<Bunk> selectByRid(String rid);

    List<Bunk> selectBySid(String sid);

    List<Bunk> selectAll();
}